import { observer, makeObservable, action, observable } from "mobx";

class Store {
  @observable data = [];
  @action
  getData = (txt) => {
    this.data = txt;
  };
  constructor() {
    makeObservable(this);
  }
}
export default Store;
